package xyz.zyl2020.securityjwt.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZhuYinglong
 * @date 2020/9/1 0001
 */
@RestController
@RequestMapping("/api")
public class ApiController {

    @GetMapping("/data")
    public String data() {
        return "This is data.";
    }
}
